Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Notes and Domino Application Development wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
Community Articles > 日本語 - Japanese > クライアントからCKEDITORのインスタンスを取得する方法
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Community articleクライアントからCKEDITORのインスタンスを取得する方法
Added by ~Holly Umkisteretsi | Edited by ~Holly Umkisteretsi on October 23, 2012 | Version 4
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: CKEDITOR
ShowTable of Contents
HideTable of Contents
  • 1 XPagesのCKEDITORをクライアントサイドJavaScriptで操作する

XPagesのCKEDITORをクライアントサイドJavaScriptで操作する



リッチテキストを配置した状態でクライアントサイドJavaScriptでアクセするには以下の様にします

	var richCKEditor = CKEDITOR.instances["#{id:inputRichText1}"];

	alert (richCKEditor.getData());

	

また、値を設定するとこも可能です


	var richCKEditor = CKEDITOR.instances["#{id:inputRichText1}"];

	var newData ='<p>テストです</p>';

	richCKEditor.setData(richCKEditor.getData()+newData);

	

expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (7)
collapsed Versions (7)
Version Comparison     
VersionDateChanged by              Summary of changes
7Oct 23, 2012, 2:49:14 PM~Sean Elnuzenakol  
6Oct 23, 2012, 2:45:15 PM~Holly Umkisteretsi  
5Oct 23, 2012, 2:39:26 PM~Holly Umkisteretsi  
This version (4)Oct 23, 2012, 2:38:42 PM~Holly Umkisteretsi  
3Oct 23, 2012, 2:37:32 PM~Holly Umkisteretsi  
1Oct 23, 2012, 9:30:04 AM~Holly Umkisteretsi  
1Oct 23, 2012, 9:30:04 AM~Holly Umkisteretsi  
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL
  • Privacy
  • Accessibility